package com.ocom.common.request.web;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class AccDiscountReportsOnShowRequest implements Serializable {
    private static final long serialVersionUID = 2971779162748755950L;


    @JsonProperty("comId")
    @Min(1L)
    @NotNull(message = "comId 不能为空")
    private Long comId;

    private Integer merchId;
    
    private Integer pointId;

    private Integer deptId;

    private String deptIds;

    @NotEmpty(message = "开始时间 不能为空")
    private String startTime;

    @NotEmpty(message = "结束时间 不能为空")
    private String endTime;

    private AccDiscountEnum type;

    private Integer reportType = 3;


}
